package top.dancun.eascourse.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 成绩
 * 
 * @author dancun
 * @email message@dancun.top
 * @date 2022-11-05 10:12:23
 */
@Data
@TableName("scores")
public class ScoresEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Long id;
	/**
	 * 课程id
	 */
	private Long courseId;
	/**
	 * 课程
	 */
	@TableField(exist = false)
	private String courseName;

	@TableField(exist = false)
	private CourseEntity course;
	/**
	 * 学生id
	 */
	private String studentId;
	@TableField(exist = false)
	private String studentName;
	/**
	 * 学期
	 */
	private String semester;
	/**
	 * 成绩
	 */
	private BigDecimal scores;
	/**
	 * 学分绩点
	 */
	private BigDecimal credits;
	/**
	 * 课时
	 */
	private Integer classHour;

}
